package com.navinfo.tripanalysis.offline.service.impl.huashen;

import com.navinfo.tripanalysis.common.arithmetic.*;
import com.navinfo.tripanalysis.common.pojo.RunningType;
import com.navinfo.tripanalysis.common.pojo.RunningTypeEnum;
import com.navinfo.tripanalysis.offline.service.AlgorithmChainService;
import com.navinfo.tripanalysis.offline.service.impl.AbstractAlgorithmChainService;

import java.util.Map;

/**
 * 一汽算法链服务
 * @author: web
 * @date: 2020-06-08
 **/
@RunningType(value = RunningTypeEnum.HS, interfaceClass = AlgorithmChainService.class )
public class AlgorithmChainServiceImpl extends AbstractAlgorithmChainService {

    public AlgorithmChainServiceImpl(Map algorithmConfig) {
        super(algorithmConfig);

        //同步了一些东风的算法
        super.arithmeticManager0F37
//            .addArithmetic(new CoastFlameout_DF())
//            .addArithmetic(new CoastNeutralGear_DF())
            .addArithmetic(new DrivingCold_DF());
//            .addArithmetic(new DrivingNight_DF())
//            .addArithmetic(new GasLargeAndFull_DF())
//            .addArithmetic(new IdleLong_DF())
//            .addArithmetic(new RotationOver_DF())
//            .addArithmetic(new SpeedOver_DF())
//            .addArithmetic(new SharpTurning_DF())
//            .addArithmetic(new SharpAcceleration_DF())
//            .addArithmetic(new SharpDeceleration_DF())
//            .addArithmetic(new VehicleLoadType_DF())
//            .addArithmetic(new SpeedEconomic());

        super.arithmeticManager0200
            .addArithmetic(new DrivingNight_DF())
            .addArithmetic(new IdleLong_DF())
            .addArithmetic(new RotationOver_DF())
            .addArithmetic(new SpeedOver_DF())
            .addArithmetic(new VehicleLoadType_DF());
    }

}
